---
title: "basic alert · RUAL Documentation"
description: "Generates a basic styled alert with text."
canonical: https://docs.rual.nl/block-types/state ui/state_alert_regular
language: en
---

# basic alert

This block is part of the [`state ui`](https://docs.rual.nl/block-types/state%20ui) group and was last modified in core [`v13.0.6`](https://docs.rual.nl/core-versions/130006).

Generates a basic styled alert with text.

- title `value` Title to be shown within the alert.

- text required `value` Text to be shown within the alert.

- class `uiclass` Assigns a CSS class to the element. • Hidden when unused

- style `uistyle` Applies inline CSS style to the element • Hidden when unused

- attributes `uiattributes` Adds custom attributes to the element. • Hidden when unused

- state `state` Returns the element to the frontend state.

A typical wiring for [basic alert](https://docs.rual.nl/block-types/state%20ui/state_alert_regular): [value](https://docs.rual.nl/block-types/value/value_default) feeds the `value` pin; the `state` out pin feeds [get component child](https://docs.rual.nl/block-types/state%20actions/state_component_get_child).

![Studio canvas example for the basic alert block: typical wiring for basic alert.](https://docs.rual.nl/canvas-examples/state_alert_regular.png)

### Version history

Introduced in [`v13.0.1`](https://docs.rual.nl/core-versions/130001).

Last modified in [`v13.0.6`](https://docs.rual.nl/core-versions/130006).
